package com.authorization.project.single.mapper;

import com.authorization.project.single.domain.SingleAuthorizationServiceMapping;

import java.util.List;

/**
 * 单服务授权信息-服务中间Mapper接口
 * 
 * @author 李晓雷
 * @date 2020-07-11
 */
public interface SingleAuthorizationServiceMappingMapper 
{
    /**
     * 查询单服务授权信息-服务中间
     * 
     * @param id 单服务授权信息-服务中间ID
     * @return 单服务授权信息-服务中间
     */
    public SingleAuthorizationServiceMapping selectSingleAuthorizationServiceMappingById(Long id);

    /**
     * 查询单服务授权信息-服务中间列表
     * 
     * @param singleAuthorizationServiceMapping 单服务授权信息-服务中间
     * @return 单服务授权信息-服务中间集合
     */
    public List<SingleAuthorizationServiceMapping> selectSingleAuthorizationServiceMappingList(SingleAuthorizationServiceMapping singleAuthorizationServiceMapping);

    /**
     * 新增单服务授权信息-服务中间
     * 
     * @param singleAuthorizationServiceMapping 单服务授权信息-服务中间
     * @return 结果
     */
    public int insertSingleAuthorizationServiceMapping(SingleAuthorizationServiceMapping singleAuthorizationServiceMapping);

    /**
     * 修改单服务授权信息-服务中间
     * 
     * @param singleAuthorizationServiceMapping 单服务授权信息-服务中间
     * @return 结果
     */
    public int updateSingleAuthorizationServiceMapping(SingleAuthorizationServiceMapping singleAuthorizationServiceMapping);

    /**
     * 删除单服务授权信息-服务中间
     * 
     * @param id 单服务授权信息-服务中间ID
     * @return 结果
     */
    public int deleteSingleAuthorizationServiceMappingById(Long id);

    /**
     * 批量删除单服务授权信息-服务中间
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSingleAuthorizationServiceMappingByIds(Long[] ids);
}
